#ifndef __sp_epoll_h__
#define __sp_epoll_h__

#include <sys/epoll.h>
#include <sys/time.h>
#include <sys/types.h>
#include <unistd.h>


int event_create();
void event_add(int efd, int fd, int events);
void event_del(int efd, int fd);
void event_write(int efd, int sock, int events);
int event_wait(int efd, struct epoll_event ev[], int max);


#endif

